package hieudao.exercise_collection.entity_data;

public class BookManager {
	private int rentNOBook;
	private int numSpecialized;
	private Reader reader;
	private Book book;

	/**
	 * 
	 */
	public BookManager() {
		super();
		reader = new Reader();
		book = new Book();
	}

	/**
	 * @param rentNOBook
	 * @param numSpecialized
	 * @param reader
	 * @param book
	 */
	public BookManager(int rentNOBook, int numSpecialized, Reader reader, Book book) {
		super();
		this.rentNOBook = rentNOBook;
		this.numSpecialized = numSpecialized;
		this.reader = reader;
		this.book = book;
	}

	/**
	 * @return the rentNOBook
	 */
	public int getRentNOBook() {
		return rentNOBook;
	}

	/**
	 * @param rentNOBook
	 *            the rentNOBook to set
	 */
	public void setRentNOBook(int rentNOBook) {
		this.rentNOBook = rentNOBook;
	}

	/**
	 * @return the numSpecialized
	 */
	public int getNumSpecialized() {
		return numSpecialized;
	}

	/**
	 * @param numSpecialized
	 *            the numSpecialized to set
	 */
	public void setNumSpecialized(int numSpecialized) {
		this.numSpecialized = numSpecialized;
	}

	/**
	 * @return the reader
	 */
	public Reader getReader() {
		return reader;
	}

	/**
	 * @param reader
	 *            the reader to set
	 */
	public void setReader(Reader reader) {
		this.reader = reader;
	}

	/**
	 * @return the book
	 */
	public Book getBook() {
		return book;
	}

	/**
	 * @param book
	 *            the book to set
	 */
	public void setBook(Book book) {
		this.book = book;
	}

}
